deploy{
}
init{
  conversationContext.associate(new MutableBoundRequest(new HashMap<String,Object>(),new HashMap<String,Object>()));
  conversationContext.activate();
}
shouldGetForbiddenToBuyReturnFalseWhenCustomerCanBuy{
  assertFalse(itemBean.getForbiddenToBuy());
}
testDoCreateBook{
  book.description="description";
  book.price=0F;
  itemBean.setBook(book);
  final String firstTag="A";
  final String secondTag="B";
  itemBean.setTags(firstTag + "," + secondTag);
  itemBean.setLanguageCode("FR");
  itemBean.doCreateBook();
  assertEquals("Tags",Arrays.asList(firstTag,secondTag),book.getTags());
}
